]> dgit.raspbian.org Git - gnome-shell.git/commit
notificationDamon: Always send the activation token
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 26 Sep 2025 04:29:16 +0000 (06:29 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 26 Sep 2025 15:00:29 +0000 (15:00 +0000)
commitf85ee952a02245e59fb9e1da63a1c4586dc9372b
tree89abbe3b230601da62bf1d67f25dd0355c9fcd49
parentbaeeb2ba89997c93d9fab04daa2e25b084b72ebe
notificationDamon: Always send the activation token

In case of FDO notifications, we may receive a notification coming from
non-desktop-applications (e.g. gsd does that), but in any case when
activating an action we should always provide back the activation-token.

So send the startup notification ID in any case, even if the appId is
unset (in fact get_startup_notify_id() uses a nullable parameter for a
reason since GNOME/glib@6210708f).

In wayland this more than enough, while in X11 we could have used the
gnome-shell desktop file as fallback, but that's gone for good now!

Fixes: bb73bf5
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3891>
js/ui/notificationDaemon.js